package com.oneandseven.dajia.entity.user;

import com.oneandseven.dajia.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;

@Entity
@Table(name = "user_assets_info")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserAssetsInfoEntity extends BaseEntity {

    @Column(name = "user_id")
    private String userId;

    @Column(name = "type")
    private Byte type;

    @Column(name = "sum")
    private Long sum;
}
